select first option in dropdown jquery

47

select first option in dropdown jquery -

myElement.find('option:eq(0)').prop('selected', true);

Comments

Submit
0 Comments